package cn.hj.domain.activity.service;

import cn.hj.domain.activity.model.entity.*;

/**
 * 抽奖订单
 */
public interface IRaffleOrderAccountQuota {

    /**
     * 创建抽奖订单
     * @param activityShopCatEntity
     * @return
     */
    ActivityOrderEntity createRaffleActivityOrder(ActivityShopCatEntity activityShopCatEntity);


    /**
     * 给用户充值订单，增加抽奖次数
     * @param skuRechargeEntity
     * @return
     */
    String createRechangeOrder(SkuRechargeEntity skuRechargeEntity);

    ActivityAccountEntity queryActivityAccountEntity(String userId, Long activityId);

    Integer queryRaffleActivityAccountPartakeCount(String userId, Long activityId);

    void updateOrder(DeliveryOrderEntity deliveryOrderEntity);

    UnpaidActivityOrderEntity createOrder(SkuRechargeEntity skuRechargeEntity);
}
